package jdbc;

import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
import java.util.Properties;

public class MyDB implements Driver{
	
	static{
		MyDB db = new MyDB();
		try {
			DriverManager.registerDriver(db);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}

	public boolean acceptsURL(String url) throws SQLException {
		
		return false;
	}

	public Connection connect(String url, Properties info) throws SQLException {
		
		return null;
	}

	public int getMajorVersion() {
		
		return 0;
	}

	public int getMinorVersion() {
		
		return 0;
	}

	public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException {
		
		return null;
	}

	public boolean jdbcCompliant() {
		
		return false;
	}

}
